<template>
  <span class="ep-time">{{ text }}{{ timer }}</span>
</template>

<script>
export default {
  name: "epTime",
  props: {
    text: {
      type: String,
      default: "当前任务截止时间：",
    },
    timer: {
      type: String,
      required: true,
      default: "-",
    },
  },
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style lang="less" scoped>
.ep-time {
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
  color: @primary-color;
}
</style>
